//
//  KDefine.swift
//  Browser
//
//  Created by 鹏鹏 on 2021/7/3.
//

import Foundation
import UIKit

class KDefine {

    class Color: UIColor {

        static let bgColor = simpleColorSame(248)
    }

    class Font: UIFont {

        static func system(_ size: CGFloat) -> UIFont {
            return UIFont.systemFont(ofSize: size)
        }
        static let system15 = UIFont.systemFont(ofSize: 15)
    }

    class Frame: UIView {

        static func screenWidth() -> CGFloat {
            return UIScreen.main.bounds.size.width
        }

        static func screenHeight() -> CGFloat {
            return UIScreen.main.bounds.size.height
        }
    }

    class Notice: NSObject {

        static let kNotificationNameReceivedNewFile: Notification.Name = Notification.Name("kNotificationNameReceivedNewFile")
    }
}
